#include <iostream>

using std::cout;
using std::endl;

int
main(int argc, char **argv)
{
    for (int i = 0; i < 4; ++i)
    {
        for (int s = 0; s < i; ++s)
        {
            cout << " ";
        }

        for (int s = 0; s < (4 - i) * 2; ++s)
        {
            cout << "#";
        }
        cout << endl;
    }
}
